Externalize
TheExternalize
method stores the data needed to restore this persistent object to its current state.
void Externalize ();DISCUSSION
Your part calls this method of a persistent object (for example, a part or frame) to write that object's data to persistent storage. This method writes the object's persistent state to the properties and values in the object's storage unit. It must write sufficient information to allow the object'sInitClassFromStorage
method to restore the object to its current state; for example, a part'sExternalize
method must write the information needed by itsInitPartFromStorage
method.OVERRIDING
Every subclass ofODPersistentObject
must override theExternalize
method. Your subclass ofODPart
overrides this method if your part maintains persistent content. The override method must call its inheritedExternalize
method at the beginning of its implementation.SEE ALSO
TheODPersistentObject::InitPersistentObject
method (page 560).
TheODPersistentObject::InitPersistentObjectFromStorage
method (page 561).
TheODPart
class (page 459).
"The Externalize Method" on page 98 in OpenDoc Cookbook.
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"The Externalize Method" on page 297 in OpenDoc Programmer's Guide.
"Writing Links in Externalize" on page 388 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help